﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    [Serializable]
    public class PIMTestInfo
    {
        private string productSN;
        private DateTime testTime;
        private string productTypeID;
        private string userID;
        private string pCIP;
        private string signalSource1;
        private string signalSource2;
        private string spectrumAnalyzer;
        private string testStep;
        private string isPass;

        public PIMTestInfo() { }

        public PIMTestInfo(string productSN, DateTime testTime, string productTypeID, string userID, string pCIP, string signalSource1, string signalSource2, string spectrumAnalyzer, string testStep, string isPass)
        {
            this.productSN = productSN;
            this.testTime = testTime;
            this.productTypeID = productTypeID;
            this.userID = userID;
            this.pCIP = pCIP;
            this.signalSource1 = signalSource1;
            this.signalSource2 = signalSource2;
            this.spectrumAnalyzer = spectrumAnalyzer;
            this.testStep = testStep;
            this.isPass = isPass;
        }

        public string ProductSN { get { return productSN; } set { productSN = value; } }
        public DateTime TestTime { get { return testTime; } set { testTime = value; } }
        public string ProductTypeID { get { return productTypeID; } set { productTypeID = value; } }
        public string UserID { get { return userID; } set { userID = value; } }
        public string PCIP { get { return pCIP; } set { pCIP = value; } }
        public string SignalSource1 { get { return signalSource1; } set { signalSource1 = value; } }
        public string SignalSource2 { get { return signalSource2; } set { signalSource2 = value; } }
        public string SpectrumAnalyzer { get { return spectrumAnalyzer; } set { spectrumAnalyzer = value; } }
        public string TestStep { get { return testStep; } set { testStep = value; } }
        public string IsPass { get { return isPass; } set { isPass = value; } }
        public string MoreContent { get; set; }
    }

    [Serializable]
    public class PIMTest_tempInfo : PIMTestInfo
    {
        public string TestBand { get; set; }
        public bool Flag { get; set; }
    }
}
